import { ipcRenderer } from "electron";

window.addEventListener('DOMContentLoaded', () => {

  const el = document.getElementById('other')
  el.addEventListener('mouseenter', () => {
    ipcRenderer.send('set-ignore-mouse-events', true,{ forward: true })
  })
  el.addEventListener('mouseleave', () => {
    ipcRenderer.send('set-ignore-mouse-events', false)
  })
})
